package trss.service;

import java.util.List;

import trss.dao.TorrentDao;
import trss.model.Torrent;
import trss.model.User;


/**
 * Business Service Interface to handle communication between web and
 * persistence layer.
 *
 */
public interface TorrentManager extends GenericManager<Torrent, Long> {
    void setTorrentDao(TorrentDao dao);
    List<Torrent> getTorrents(User user, int maxCount);
}
